[INFO] cloning repository https://github.com/kodai12/toy_lisp_interpreter_in_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kodai12/toy_lisp_interpreter_in_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkodai12%2Ftoy_lisp_interpreter_in_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkodai12%2Ftoy_lisp_interpreter_in_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6c21ddc6c97868cf752c6b7b7d0293859e70b57e
[INFO] building kodai12/toy_lisp_interpreter_in_rust against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkodai12%2Ftoy_lisp_interpreter_in_rust" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kodai12/toy_lisp_interpreter_in_rust on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kodai12/toy_lisp_interpreter_in_rust
[INFO] finished tweaking git repo https://github.com/kodai12/toy_lisp_interpreter_in_rust
[INFO] tweaked toml for git repo https://github.com/kodai12/toy_lisp_interpreter_in_rust written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/kodai12/toy_lisp_interpreter_in_rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ad44e5fc7043f3e30eed1c73bc0fadca5a732c0befe697ca2ac77131b4cee5a0
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ad44e5fc7043f3e30eed1c73bc0fadca5a732c0befe697ca2ac77131b4cee5a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ad44e5fc7043f3e30eed1c73bc0fadca5a732c0befe697ca2ac77131b4cee5a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad44e5fc7043f3e30eed1c73bc0fadca5a732c0befe697ca2ac77131b4cee5a0", kill_on_drop: false }`
[INFO] [stdout] ad44e5fc7043f3e30eed1c73bc0fadca5a732c0befe697ca2ac77131b4cee5a0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dfbdf4faee0f82b2abfc84ea62f0c195c1ae2729c2cfdc62f3bf837df2c2cd2d
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "dfbdf4faee0f82b2abfc84ea62f0c195c1ae2729c2cfdc62f3bf837df2c2cd2d", kill_on_drop: false }`
[INFO] [stderr]    Compiling tinylisp v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/main.rs:4:36
[INFO] [stdout]   |
[INFO] [stdout] 4 | type OpFn = fn(Vec<String>) -> Box<ToString>;
[INFO] [stdout]   |                                    ^^^^^^^^ help: use `dyn`: `dyn ToString`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:55:35
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn plus(args: Vec<String>) -> Box<ToString> {
[INFO] [stdout]    |                                   ^^^^^^^^ help: use `dyn`: `dyn ToString`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:60:36
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn minus(args: Vec<String>) -> Box<ToString> {
[INFO] [stdout]    |                                    ^^^^^^^^ help: use `dyn`: `dyn ToString`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:32:32
[INFO] [stdout]    |
[INFO] [stdout] 32 |                 sub_stack.push(t.clone());
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                expected struct `String`, found `&str`
[INFO] [stdout]    |                                help: try using a conversion method: `t.to_string()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `String: Borrow<&str>` is not satisfied
[INFO] [stdout]   --> src/main.rs:33:24
[INFO] [stdout]    |
[INFO] [stdout] 33 |                 if ops.contains_key(&t) {
[INFO] [stdout]    |                        ^^^^^^^^^^^^ the trait `Borrow<&str>` is not implemented for `String`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following implementations were found:
[INFO] [stdout]              <String as Borrow<str>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:41:24
[INFO] [stdout]    |
[INFO] [stdout] 41 |             stack.push((*tstr).to_string());
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        expected `&str`, found struct `String`
[INFO] [stdout]    |                        help: consider borrowing here: `&(*tstr).to_string()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:43:24
[INFO] [stdout]    |
[INFO] [stdout] 43 |             stack.push(token.to_string());
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        expected `&str`, found struct `String`
[INFO] [stdout]    |                        help: consider borrowing here: `&token.to_string()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tinylisp`
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn evaluate(input: &str, ops: HashMap<String, OpFn>) -> String {
[INFO] [stdout]    |                                                         ------ expected `String` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 48 |     stack.pop().unwrap()
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     expected struct `String`, found `&str`
[INFO] [stdout]    |     help: try using a conversion method: `stack.pop().unwrap().to_string()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:52:30
[INFO] [stdout]    |
[INFO] [stdout] 52 |     input.split_whitespace().collect().to_string()
[INFO] [stdout]    |                              ^^^^^^^ cannot infer type for type parameter `B` declared on the associated function `collect`
[INFO] [stdout]    |
[INFO] [stdout]    = note: type must be known at this point
[INFO] [stdout] help: consider specifying the type argument in the method call
[INFO] [stdout]    |
[INFO] [stdout] 52 |     input.split_whitespace().collect::<B>().to_string()
[INFO] [stdout]    |                                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "dfbdf4faee0f82b2abfc84ea62f0c195c1ae2729c2cfdc62f3bf837df2c2cd2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfbdf4faee0f82b2abfc84ea62f0c195c1ae2729c2cfdc62f3bf837df2c2cd2d", kill_on_drop: false }`
[INFO] [stdout] dfbdf4faee0f82b2abfc84ea62f0c195c1ae2729c2cfdc62f3bf837df2c2cd2d
